<template>
	<view class="container">
		<button @click="test">测试</button>
	</view>
</template>

<script>
	import { getUserInfo } from '@/api/user/user.js'
	export default {
		data() {
			return {
				href: 'https://uniapp.dcloud.io/component/README?id=uniui'
			}
		},
		methods: {
			test(){
				uni.showToast({
					title:"请求url中"
				})
				getUserInfo({test:123}).then((res)=>{
					console.log(res);
				})
				
				
				// request.get('/collaborate-api/evaluation/section/getProPeripherySectionByProGuid/79fa1b50-f4c1-11ea-addf-2cf05d1a3802')
				// .then((res)=>{
				// 	console.log(res);
				// })
			}
		}
	}
</script>

<style>
	.container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
</style>
